home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 12984 / 12984.xpi / chrome / VideoDownloaderToolbar.jar / content / sites.xul < prev    next >
Extensible Markup Language  |  2010-01-29  |  2KB  |  46 lines

  1. <?xml version="1.0"?> 
  2. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> 
  3. <?xml-stylesheet href="chrome://vidbar/skin/vid.css" type="text/css"?>
  4.  
  5. <window id="vidbar-sites" title="Supported Sites" flex="1"
  6.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  7.     xmlns:html="http://www.w3.org/1999/xhtml" screenX="0" screenY="0"
  8.     persist="width height screenX screenY sizemode">
  9.  
  10.     <script type="application/x-javascript" src="chrome://vidbar/content/utils.js" />
  11.     <script type="application/x-javascript" src="chrome://vidbar/content/db.js" />
  12.     <script type="application/x-javascript" src="chrome://vidbar/content/sites.js" />
  13.     <script type="application/x-javascript">
  14.     <![CDATA[
  15.         var vidSites = new com.VidBar.VidSites();
  16.         window.addEventListener("load", function(event) { vidSites.onLoad(event); }, false);
  17.         window.addEventListener("unload", function(event) { vidSites.onUnload(event); }, false);
  18.         ]]>
  19.     </script>
  20.  
  21.     <vbox id="vidbar-sites-vbox" flex="1">
  22.  
  23.         <tree id="vidbar-media-sites" enableColumnDrag="false" flex="1">
  24.             <treecols>
  25.                 <treecol id="name" primary="true" label="Site Name" flex="1"
  26.                     persist="width ordinal hidden sortActive sortDirection" />
  27.             </treecols>
  28.             <treechildren id="siteChildren" />
  29.         </tree>
  30.         <hbox>
  31.             <label value="Name: " for="new-site-name" style="margin:5px;" />
  32.             <textbox id="new-site-name" size="12" value="" />
  33.             <label value="URL: " for="new-site-url" style="margin:5px;" />
  34.             <textbox id="new-site-url" size="36" value="" />
  35.         </hbox>
  36.         <hbox>
  37.             <button label="Add" oncommand="vidSites.add()" />
  38.             <button label="Delete" oncommand="vidSites.remove()" />
  39.             <button label="Restore Default" oncommand="vidSites.restore()" />
  40.             <button label="Close" oncommand="window.close()" />
  41.         </hbox>
  42.  
  43.     </vbox>
  44.  
  45. </window>
  46.